package com.sumainfor.pc.gmio.controller.housekeeper;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.PageUtils;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.service.DiComplaintService;
import com.sumainfor.pc.gmio.service.HoTenantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 *服务管家租客管理
 */
@RestController
@RequestMapping("/housekeeper/HoTenant")
public class HoTenantController implements Serializable {
    @Autowired
    private HoTenantService hoTenantService;

    /**
     *通过客户编号查询剩余未缴费账单和待审核账单和逾期账单
     */
    @PostMapping("/sendPassWordMessage")
    public JsonResult sendPassWordMessage(@RequestBody Map<String,Object>params){
        return hoTenantService.sendPassWordMessage(params);
    }
    /**
     *租赁顾问新签合同时抄水电燃表
     */
    @PostMapping("/addHoWegMeter")
    public JsonResult addHoWegMeter(@RequestBody Map<String,Object>params){
        return hoTenantService.addHoWegMeter(params);
    }


}
